//
//  ZongHeBaoGaoTableViewCell.m
//  MyYiJianKangApp
//
//  Created by 张国文 on 16/5/31.
//  Copyright © 2016年 hangzhouyijiyin. All rights reserved.
//

#import "ZongHeBaoGaoTableViewCell.h"

@implementation ZongHeBaoGaoTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self addMySubview];
    }
    return self;
}

// 布局
- (void)addMySubview
{
    UILabel *alertLabel = [[UILabel alloc]initWithFrame:CGRectMake((375 - 200) / 2 * kAdjustParamater, 180 * kAdjustParamater, 200 * kAdjustParamater, 30 * kAdjustParamater)];
    alertLabel.text = @"综合报告";
    alertLabel.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:alertLabel];
    
    // 底部灰色条
    UILabel *grayLineOnBottom = [[UILabel alloc] initWithFrame:CGRectMake(0, (400 - 1) * kAdjustParamater, kScreenWidth, 1 * kAdjustParamater)];
    grayLineOnBottom.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.07];
    [self.contentView addSubview:grayLineOnBottom];
}




@end
